import request from '@/utils/request'

// 查询推广地区数据日报列表
export function listBiPromotionRegionDwd(query) {
  return request({
    url: '/marketing/BiPromotionRegionDwd/list',
    method: 'get',
    params: query
  })
}

// 查询推广地区数据日报详细
export function getBiPromotionRegionDwd(id) {
  return request({
    url: '/marketing/BiPromotionRegionDwd/' + id,
    method: 'get'
  })
}

// 新增推广地区数据日报
export function addBiPromotionRegionDwd(data) {
  return request({
    url: '/marketing/BiPromotionRegionDwd',
    method: 'post',
    data: data
  })
}

// 修改推广地区数据日报
export function updateBiPromotionRegionDwd(data) {
  return request({
    url: '/marketing/BiPromotionRegionDwd',
    method: 'put',
    data: data
  })
}

// 删除推广地区数据日报
export function delBiPromotionRegionDwd(id) {
  return request({
    url: '/marketing/BiPromotionRegionDwd/' + id,
    method: 'delete'
  })
}
